
<form class="form-horizontal" name="form" role="form" ng-controller="memberFormCtrl">
    <h1 class="page-header">会员详情</h1>
    <div class="row">
        <div class="alert alert-danger" style="margin:10px;display: none">
            出错啦
        </div>
    </div>
    <div class="col-md-6">
        <div class="form-group">

            <label class="control-label col-md-2">真实姓名</label>

            <div class="col-md-6">
                <input type="text" class="form-control" name="realName" ng-model="member.real_name"/>
            </div>

        </div>

        <div class="form-group">

            <label class="control-label col-md-2">手机号码</label>

            <div class="col-md-6">
                <!--<input type="text" class="form-control" name="memberProvince" ng-model="member.province"/>-->
                <input type="text" class="form-control" name="memberPhone" ng-model="member.phone_mob"/>
            </div>

        </div>

    </div>
    <div class="col-md-6">
        <div class="form-group">

            <label class="control-label col-md-2">积分</label>

            <div class="col-md-6">
                <input type="text" class="form-control" name="memberScores" ng-model="member.scores"/>
            </div>

        </div>

        <div class="form-group">

            <label class="control-label col-md-2">归属</label>

            <div class="col-md-6">
                <input type="text" class="form-control" name="ascription" ng-model="member.ascription" ng-readonly="ascription"/>
            </div>

        </div>

    </div>

    <div class="form-group">
        <div class="col-md-offset-5 col-md-12">
            <a class="btn btn-success" ng-click="save();" ng-disabled="form.$invalid">保存</a>
            <a class="btn btn-primary" ui-sref="index.memberMng">关闭</a>
        </div>
    </div>

</form>

